﻿using System;
using System.Data;
using System.Configuration;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using VCN.App.DataTransferObjects;

namespace VCN.App.DataTransferObjects
{
    public class Product : BasicObject
    {
        #region Member
        string _Name;

        public string Name
        {
            get { return _Name; }
            set { _Name = value; }
        }
        string _Description;

        public string Description
        {
            get { return _Description; }
            set { _Description = value; }
        }
        string _Image;

        public string Image
        {
            get { return _Image; }
            set { _Image = value; }
        }
        int _CateId;

        public int CateId
        {
            get { return _CateId; }
            set { _CateId = value; }
        }

        string _ProductKey;

        public string ProductKey
        {
            get { return _ProductKey; }
            set { _ProductKey = value; }
        }
        #endregion

        public Product()
        {

        }
        public Product(int ip_id)
            : base(ip_id)
        {
        }
        public Product(int ip_id, string ip_name, string ip_description, string ip_image, int ip_cateId)
            : base(ip_id)
        {
            this._Name = ip_name;
            this._Description = ip_description;
            this._Image = ip_image;
            this._CateId = ip_cateId;
        }

    }
}
